@echo off
setlocal enabledelayedexpansion
title Install
set curpath=%CD%
echo ### Install JDK
call installer\jdk\install_jdk.bat

echo ### Install Mysql
cd %curpath%
rem call installer\mysql\install_mysql.bat
cd %curpath%
rem call configEnv.bat
rem call configdb.bat

rem @reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v "WatchAllRunning.bat" /d %cd%"\WatchAllRunning.bat\\" /f
rem @reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v "WatchAllRunning.bat" /d %cd%"\WatchAllRunning.bat" /f
echo #########################Finish Install##########################
echo #########################Press any key to start Application#############
pause>>null
rem start startup.bat
rem start WatchAllRunning.bat